package com.zp.self.module.level_5_设计模式.结构型模式.Ⅴ_外观模式;

import org.junit.Test;

/**
 * @author ：by Zeng Peng
 * @date ：Created 2022/6/30 8:42
 * @description ：
 */
public class Client {
    @Test
    public void test(){
        SmartApplianceFacade facade = new SmartApplianceFacade();
        facade.monitorOrder(ApplianceType.All,"你好全部off");
        System.out.println("---------------华丽的分割线");

        facade.monitorOrder(ApplianceType.All,"你好全部oon");
        System.out.println("---------------华丽的分割线");

        facade.monitorOrder(ApplianceType.AirCondition,"你好off");
    }
}
